<?php $this->need('header.php'); ?>

	<article id="main">
	<div id="top"></div>
	<?php if ($this->have()): ?>
		<?php while($this->next()): ?>
		<section class="post page1">
			<div class="title"><h2><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
				<p>
					<span class="meta-time"><?php $this->date('Y-m-d H:i:s'); ?></span><span class="meta-cat"><?php $this->category('、'); ?></span><span class="meta-comm"><a href="<?php $this->permalink() ?>#comments" class="CommentsNumber"><?php $this->commentsNum('抢沙发', '1条评论', '%d条评论'); ?></a></span>
				</p>
			</div>
			<div class="content"><?php $this->content('阅读全文'); ?></div>
			<div class="meta-tag"><?php _e('标签：'); ?><?php $this->tags('，'); ?></div>
		</section>
        <div class="clear"></div>
	<?php endwhile; ?>
	<?php else: ?>
		<section class="post page1">
			<h2 class="entry_title">没有找到内容</h2>
		</section>
	<?php endif; ?>

		<div id="pagenavi"><?php $this->pageNav(); ?></div>
	</div>
	<?php $this->need('sidebar.php'); ?>
	<div id="bottom"></div>
	</article><!-- content END -->
	<?php $this->need('footer.php'); ?>
